package com.ruoyi.system.domain.module.setMeal;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 套餐规格下的 赠送消费券金额对象 set_meal_info_given
 *
 * @author ruoyi
 * @date 2022-06-07
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("set_meal_info_given")
public class SetMealInfoGiven implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * $column.columnComment
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    /**
     * 套餐id
     */
    private Integer mealId;

    /**
     * 所属的套餐规格的id
     */
    private Integer mealInfoId;

    /**
     * 消费券id
     */
    private Integer voucherId;

	/**
	 *  消费券名称
	 */
	private String voucherName;

    /**
     * 赠送的消费券金额
     */
    private BigDecimal givenMoney;

    /**
     * 状态 0 - 不可用  1 - 可用
     */
    private Integer state;

    @TableField(exist = false)
	private String mealName;


	@TableField(exist = false)
	private String mealInfoName;



}
